//
//  DKFileUploadBaseTask.h
//  Whistle
//
//  Created by ZhangAo on 11/10/15.
//  Copyright © 2015 BookSir. All rights reserved.
//

#import "DKFileBaseTask.h"

@protocol DKFileUploadTaskProtocol <NSObject>

- (void)uploadFile;

@end

@interface DKFileUploadBaseTask : DKFileBaseTask <DKFileUploadTaskProtocol>

- (instancetype)initWithData:(NSData *)data;

- (instancetype)initWithData:(NSData *)data storeKey:(NSString *)storeKey;

- (instancetype)initWithPath:(NSString *)path;

- (instancetype)initWithPath:(NSString *)path storeKey:(NSString *)storeKey;

@property (nonatomic, readonly, strong) NSData *data;

@property (nonatomic, readonly, strong) NSString *path;

@end
